package com.huluobo.a2204kotlinjetpackdemo.coroutine

import retrofit2.Call
import retrofit2.http.GET

/**
 *  Created by LC on 2024/8/17.
 */
interface ApiService {
    @GET("/banner/json")
    fun loadBanner(): Call<BannerBeanResult>

    @GET("/banner/json")
    suspend fun loadBanner2(): BannerBeanResult
}